package org.jsrml.core.base.dto;

import java.io.Serializable;

/**
 * shiro 登录用户保存当前登录的情况
 * 作者：张剑
 */
@SuppressWarnings("serial")
public class LoginDomanDTO implements Serializable {
	
	private String id;
	
	private String name;
	
	private String accountId;
	
	private String account;
	
	/**
	 * 账号来源：worker 、供应商公司、超级管理员
	 */
	private String accountOwner;
	
	
	private Object payload;

	public LoginDomanDTO(){}
	
	public LoginDomanDTO(String accountId,String account,String accountOwner){
		this.accountId=accountId;
		this.account=account;
		this.accountOwner=accountOwner;
	}
	
	public LoginDomanDTO(String accountId,String account,String accountOwner,String name){
		this.accountId=accountId;
		this.account=account;
		this.accountOwner=accountOwner;
		this.name=name;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAccountOwner() {
		return accountOwner;
	}

	public void setAccountOwner(String accountOwner) {
		this.accountOwner = accountOwner;
	}

	public Object getPayload() {
		return payload;
	}

	public void setPayload(Object payload) {
		this.payload = payload;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}
	
}
